/**
 * FireFly (2011)
 */
package com.firefly.kernel.plugins;

import com.firefly.kernel.Kernel;
import com.firefly.kernel.plugins.event.AbstractEventEmitter;
import com.firefly.kernel.spi.IKernelObject;
import com.firefly.logging.Logger;

/**
 * 抽象核心对象
 * 
 * @version 1.0 2011-1-2
 * @author lexloo(lexloo@gmail.com)
 * @since FireFly 1.0
 */
public abstract class AbstractKernelObject extends AbstractEventEmitter implements IKernelObject {
	/** 日志记录器 */
	protected Logger log = Logger.getLogger(this.getClass());
	/** 核心对象 */
	protected Kernel kernel;

	@Override
	public Kernel getKernel() {
		return this.kernel;
	}

	@Override
	public void setKernel(Kernel kernel) {
		this.kernel = kernel;
	}
}
